##解压zookeeper
tar -zxvf apache-zookeeper-3.5.8-bin.tar.gz
##解压kafka
tar -zxvf kafka_2.12-2.4.1.tgz
#修改kafka和zookeeper文件夹名字
mv apache-zookeeper-3.5.8-bin zookeeper && mv kafka_2.12-2.4.1 kafka
##复制zookeeper配置文件
cp zoo_sample.cfg zoo.cfg